package cn.tl.org.domain;

import cn.tl.org.base.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(value = "部门字段")
public class Dept extends BaseDomain {
    /*部门编号*/
    private String sn;
    /*部门名称*/
    private String name;
    /*暂时不用*/
    private String dirPath;
    /*部门状态*/
    @ApiModelProperty(value = "0:禁用,1:启用")
    private Integer state;
    private Integer manager_id;
    private Employee employee;
    private Integer parent_id;
    private Dept parent;
    private List<Dept> children = new ArrayList<>();

}
